<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%
	StringBuffer strURL = request.getRequestURL();
	String URL = strURL.toString();
	String contPath = request.getContextPath();
	int nIndex = URL.indexOf(contPath);
	URL = "http://tugo.cn/weixin_aef/";
	%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport"
	content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<link rel="stylesheet" href="<%=URL%>newedition/css/aui.css" />
<link rel="stylesheet" href="<%=URL%>newedition/css/user_index.css" />
<link rel="stylesheet" href="<%=URL%>newedition/css/iconfont.css" />
<link rel="stylesheet" href="<%=URL%>newedition/css/aui-slide.css" />
<script type="text/javascript" src="<%=URL%>newedition/js/jquery-3.2.1.min.js"></script>
<script type="text/javascript" src="<%=URL%>newedition/js/aui-slide.js"></script>
<script type="text/javascript" src="<%=URL%>newedition/js/aui-toast.js"></script>
<script type="text/javascript" src="<%=URL%>newedition/js/auipopupstyle.js"></script>
<script type="text/javascript" src="<%=URL%>newedition/js/recycle/user_index.js"></script>
<script type="text/javascript" src="<%=URL%>newedition/js/base.js?version=1.2"></script>
<script type="text/javascript" src="<%=URL%>js/cookies.js?version=1.1"></script>
<title>用户首页</title>
</head>

<body>
<input type=hidden name=contextPath value=<%= request.getContextPath()%> id="requestpath"> 
<!--  <button onclick="clearCookieAll()">sss</button>  -->
	<div class="body-box">
		<div class="banner">
			<div id="aui-slide3" style="position: relative; height: 65vh;">
				<div class="aui-slide-wrap">
					<div class="aui-slide-node bg-dark"
						style="transform: translate3d(0px, 0px, 0px); transition-duration: 500ms;">
						<img src="<%=URL%>img/change1.jpg">
					</div>
					<div class="aui-slide-node bg-dark"
						style="transform: translate3d(1536px, 0px, 0px); transition-duration: 0ms;">
						<img src="<%=URL%>img/change2.jpg">
					</div>
					<!-- <div class="aui-slide-node bg-dark"
						style="transform: translate3d(-1536px, 0px, 0px); transition-duration: 500ms;">
						<img src="img/user_index_banner.png">
					</div> -->
				</div>
				<div class="aui-slide-page-wrap" style="text-align: center;">
					<span
						class="aui-slide-page aui-slide-page-line aui-slide-page-active"
						style="width: 33.333333333333336%"></span><span
						class="aui-slide-page aui-slide-page-line"
						style="width: 33.333333333333336%"></span><span
						class="aui-slide-page aui-slide-page-line"
						style="width: 33.333333333333336%"></span>
				</div>
			</div>
		</div>
		<div class="button">
			<button type="button" onclick="functionindex()">
				预约</br>收油
			</button>
		</div>
		<div class="footer aui-padded-10">
			<i class="userInfo icon iconfont icon-user1"
				onclick="userindex()"></i> <i
				class="userActivity icon iconfont icon-lihe"></i>
		</div>
	</div>
</body>
<script>
/* 	var toast = new auiToast(); */
	var slide3 = new auiSlide({
		container : document.getElementById("aui-slide3"),
		// "width":300,
		//			"height": 450,
		"speed" : 500,
		"autoPlay" : 3000, //自动播放
		"loop" : true,
		"pageShow" : true,
		"pageStyle" : 'line',
		'dotPosition' : 'center'
	});
	$(function() {
		GetSingleOpenId(getCookie("openid"))
	})
	function userindex() {
		if (getCookie('mobiletokenuser')==''||!getCookie('mobiletokenuser')) {
			hreftype = 1
			location.href = "user_login.jsp"
		} else {
			location.href = "user_infoList.jsp"
		}
	}
	function functionindex() {
		if (getCookie('mobiletokenuser')==''||!getCookie('mobiletokenuser')) {
			location.href = "user_login.jsp"
		} else {
			location.href = "user_function.jsp"
		}
	}
/* 	// 页面加载弹窗
	function pageChange() {
		toast.loading({
			title : "加载中",
			duration : 2000
		}, function(ret) {
			console.log(ret);
			setTimeout(function() {
				//关闭弹窗
				toast.hide();
				$(location).attr('href', 'user_function.html');
			}, 3000)//加载时间设置
		});
	} */
</script>

</html>